package com.finance.system.dao;

import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * Created by CBWL on 2017/5/17.
 */
public interface TableMapper {
    void createTable(@Param("tableName") String tableName, @Param("columns") Map<String, String> columns,@Param("primaryKey") String primaryKey);
    void copyTable(@Param("origin") String origin,@Param("dest") String dest);
    void createCommonIndex(@Param("indexName") String indexName,@Param("tableName") String tableName,@Param("column") String column,@Param("length") int length);
    void createUniqueIndex(@Param("indexName") String indexName,@Param("tableName") String tableName,@Param("column") String column,@Param("length") int length);
}
